<?
// HTML code, $Bla zijn variabelen die opgehaald worden
function Open_Cart_HTML($Site_Script_Root_Directory,$CSS_Filename,$Title, $Metas = '')
{
// HTML
?>
<html>
<head>
<link rel=StyleSheet type="text/css" href="/<? echo $Site_Script_Root_Directory; ?>css/<? echo $CSS_Filename;?>" >
<title><? echo $Title; ?></title>
<? echo $Metas; ?>
</head>
<body style="margin: 0px;">
<div align="center">
<?
}

// Afsluit HTML, hier kunnen we eventueel eigen code plaatsen
function Close_Cart_HTML($Site_Domain,$Site_Script_Root_Directory)
{
?><br>
<br>

<br>
<br>

</div>

</body>
</html>
<?
}

// Dit stukje genereert de opties, ook dit kunnen we aanpassen / mooi maken
function Cart_Menu($CurrentStep=1)
{
// in $output stop je dus de HTML code die je weergegeven wilt laten worden
$Output='';

$Output=$Output."
<table width='500' border='0'>
<tr>
<td><div align='center' class='CartMenuBox CartMenuBG Bold'>

"; //<span class='Large'>Winkelwagen: </span><br />

if ($CurrentStep==1)
{
  $Output=$Output."<span class='SelectedTextOption'><b>Bekijk winkelwagen</b>&nbsp; &nbsp; -- &nbsp; &nbsp; </span>";
} else {
  $Output=$Output."<a href='ShoppingCart.php' class='FadedLinkOption'>Bekijk winkelwagen</a>&nbsp; &nbsp;  -- &nbsp; &nbsp; ";
}

$Output=$Output."
";

if ($CurrentStep==2)
{
  $Output=$Output."<span class='SelectedTextOption'><b>Betaalmethode</b></span>&nbsp; &nbsp;  -- &nbsp; &nbsp; ";
} else {
  $Output=$Output."<a href='ChoosePayment.php' class='FadedLinkOption'>Betaalmethode</a>&nbsp; &nbsp;  -- &nbsp; &nbsp; ";
}

$Output=$Output."
";

if ($CurrentStep==3)
{
  $Output=$Output."<span class='SelectedTextOption'><b>Afrekenen</b></span><br />";
} else {
  $Output=$Output."<span class='FadedTextOption'>Afrekenen</span><br />";
}

$Output=$Output."
";

$Output=$Output."</div></td>
</tr>
</table>";

return $Output;
}
?>